<template>


<div>
<!--    <div v-if="flag">-->
<!--      &lt;!&ndash;      <span>距离跳转还有{{n}}秒</span>&ndash;&gt;-->
<!--      <img src="../assets/logo_20220401_uugai.com-1648809107223.png" alt="" style="width: 100%">-->
<!--    </div>-->
<!--    <div v-else>-->


<!--    <div v-if="flag">-->
<!--      <span>距离跳转还有{{n}}秒</span>-->
<!--      <img src="../assets/logo_20220401_uugai.com-1648809107223.png" alt="" style="width: 100%">-->
<!--    </div>-->
    <div>



      <topOne></topOne>
      <swiperTwo></swiperTwo>
      <swiper></swiper>
      <covid></covid>
      <switchOne></switchOne>

<!--      <tabbar style="position: fixed;bottom: 0px;z-index:999"></tabbar>-->

    </div>

</div>

</template>

<script>
import topOne from "@/components/topOne";
import swiper from "@/components/swiper";
import switchOne from "@/components/switchOne";


// import screen from "@/components/screen";

// import tabbar from "@/components/tabbar";

// import tabbar from "@/components/tabbar";
import swiperTwo from "@/components/swiperTwo";

// import epidemic from "@/components/epidemic";
import covid from "@/components/covid";

export default {
name: "IndexView",
  components:{
    topOne,

    swiper,
    switchOne,
    // tabbar
    swiperTwo,

    covid
  },
  data(){
  return {
    flag:true,
    n:5
  }
  },
  methods:{
    autoPlay(){
      setTimeout(this.play,1000)
    },
    play(){
      // this.n--;
      // if(this.n == 0){
      //   this.flag = false
      // }
        this.flag = false;
    }
  },
  mounted() {
      this.autoPlay()

  }


}
</script>
<style scoped>

</style>